home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -readerstuff- / matt_briggs / eac / developers / tutorials / tutorial_14.eac < prev   
Text File  |  1999-04-21  |  1KB  |  41 lines

  1. .--------------------------------------------------------------------.
  2. |  This example shows you how to cut down on the amount of pages by  |
  3. |  using the GETRESULT: command.                                     |
  4. `--------------------------------------------------------------------'
  5.  
  6. DEC:button
  7.  
  8. PAGE:START
  9.  
  10. GREEN:
  11. GETRESULT:button
  12. WRITEIF:button=1
  13. You pressed button number one!
  14. ENDWRITE:
  15. WRITEIF:button=2
  16. You pressed button number two!
  17. ENDWRITE:
  18. WRITEIF:button=3
  19. You pressed button number three!
  20. ENDWRITE:
  21. WRITEIF:button=4
  22. You pressed button number four!
  23. ENDWRITE:
  24. WRITEIF:button=5
  25. You pressed button number five!
  26. ENDWRITE:
  27. WRITEIF:button=6
  28. You pressed button number six!
  29. ENDWRITE:
  30.  
  31. YELLOW:
  32. Select a number:
  33.  
  34. BLUE:
  35. ADDOPT:#### # ### #        ###  #### ####   #:START
  36. ADDOPT:#  # # #   #  #    #   # #  # #      #:START
  37. ADDOPT:#  # # #   # #     #   # #  # ####   #:START
  38. ADDOPT:#### # #   ##      #   # #  # #      #:START
  39. ADDOPT:#    # #   # #     #   # #  # #       :START
  40. ADDOPT:#    # ### #  #     ###  #  # ####   #:START
  41.